<template>
  <div class="detail-back">
    <a-icon type="arrow-left" @click="$router.go(-1)" />
    <a-divider type="vertical" />
    <div>{{ title }}</div>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      default: '',
    },
  },
  data() {
    return {};
  },
  methods: {},
};
</script>

<style scoped lang="scss">
.detail-back {
  height: 30px;
  display: flex;
  align-items: center;
  // position: absolute;
  // top: 110px;
  font-size: 18px;
  font-weight: bold;
  .anticon-arrow-left {
    cursor: pointer;
  }
  ::v-deep .ant-divider {
    background-color: rgba(0, 0, 0, 0.45);
    width: 2px;
    height: 1em;
    margin: 0 12px;
    top: 0;
  }
}
</style>
